package cn.anecansaitin.whimsy.client.registers;

import cn.anecansaitin.whimsy.Whimsy;
import cn.anecansaitin.whimsy.client.block.renderer.RockAltarRenderer;
import cn.anecansaitin.whimsy.common.register.ModBlockEntities;
import net.neoforged.api.distmarker.Dist;
import net.neoforged.bus.api.SubscribeEvent;
import net.neoforged.fml.common.Mod;
import net.neoforged.neoforge.client.event.EntityRenderersEvent;

@Mod.EventBusSubscriber(modid = Whimsy.MODID, bus = Mod.EventBusSubscriber.Bus.MOD, value = Dist.CLIENT)
public class ModBlockEntityRenderer {
    @SubscribeEvent
    public static void renderer(EntityRenderersEvent.RegisterRenderers event) {
        event.registerBlockEntityRenderer(ModBlockEntities.ROCK_ALTAR.get(), RockAltarRenderer::new);
    }
}
